package com.moji.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 企业信息表
 * </p>
 *
 * @author ccl
 * @since 2024-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="MjCompanyInfo对象", description="企业信息表")
public class MjCompanyInfo extends Model<MjCompanyInfo> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "企业编码")
    private String companyCode;

    @ApiModelProperty(value = "企业名称")
    private String companyName;

    @ApiModelProperty(value = "统一社会信用代码")
    private String societyCreditCode;

    @ApiModelProperty(value = "企业法人")
    private String companyLegal;

    @ApiModelProperty(value = "企业法人手机号")
    private String companyLegalMobile;

    @ApiModelProperty(value = "法人身份证号")
    private String idCard;

    @ApiModelProperty(value = "地址")
    private String companyAddress;

    @ApiModelProperty(value = "详细地址")
    private String companyAddressDetail;

    @ApiModelProperty(value = "官网地址")
    private String officeUrl;

    @ApiModelProperty(value = "营业执照")
    private String businessLicense;

    @ApiModelProperty(value = "成立日期")
    private Date companyFoundTime;

    @ApiModelProperty(value = "联系人")
    private String companyLinkMan;

    @ApiModelProperty(value = "联系电话")
    private String companyLinkPhone;

    @ApiModelProperty(value = "企业类型 1-国有企业/2-国有控股企业/3-外资企业/4-合资企业/5-私营企业")
    private String companyType;

    @ApiModelProperty(value = "操作人id")
    private String createId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "操作人id")
    private String updateId;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
